<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<div style="width: 200px; height: 200px; will-change: transform; background-color: salmon;"></div>
<div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100px">
  <div id="target" style="width: 100px; height: 100px; will-change: transform; background-color: blue">
</div>
<script>
function repaintTest() {
    document.querySelector('#target').remove();
}

runRepaintAndPixelTest();
</script>
